<?php
require_once 'function.php';
require_once 'classes/simple_html_dom.php';

require_once 'Testing/Selenium.php';
require_once 'Zend/Loader/Autoloader.php';

require_once 'classes/AdvegoParse.class.php';
require_once 'classes/AdvegoBuy.class.php';
require_once 'classes/Report.class.php';

Zend_Loader_Autoloader::getInstance();

$config = new Zend_Config( array(
	'found_links' => 'found_links.txt',
	'grab_links' => 'grab_links.txt',
    'save_dir' => 'data' ) );
Zend_Registry::set( 'config', $config );

$writer = new Zend_Log_Writer_Null();
$logger = new Zend_Log( $writer );

Zend_Registry::set( 'logger', $logger );